#ifndef PROGRESS_DIALOG_EXAMPLE_H
#define PROGRESS_DIALOG_EXAMPLE_H

#include <QWidget>

class QProgressBar;
class QLabel;

class ProgressDialogExample : public QWidget
{
    Q_OBJECT

public:
    explicit ProgressDialogExample(QWidget* parent = nullptr);

private slots:
    void startLongTask();
    void showInfo();

private:
    void setupUI();
    void setupConnections();

    QProgressBar* embeddedProgress;
    QLabel* statusLabel;
    int currentProgress;
};

#endif // PROGRESS_DIALOG_EXAMPLE_H